#ifndef WINSTATE_H_INCLUDED
#define WINSTATE_H_INCLUDED

#include "Button.h"
#include "CustomCursor.h"
#include "GameState.h"
#include "Image.h"
#include "Singleton.h"
#include "Text.h"

class WinState : public GameState, public Uncopyable
{
private:
	WinState() { }
	friend class Singleton<WinState>;

public:
	void LoadText();
	void LoadButtons();
	virtual void OnActivated();
	virtual void OnDeactivated();
	virtual void Draw();
	virtual void Update();

	virtual void OnMouseButtonDownEvent(const SDL_MouseButtonEvent& mb);
	virtual void OnMouseMotionEvent(const SDL_MouseMotionEvent& mm);

private:
	Image m_bkgroundImg;
	Text m_text;
	Text m_scoreText;
	Button m_menuButt;
	Button m_restartButt;
	CustomCursor m_custCursor;
};

typedef Singleton<WinState> TheWinState;

#endif